package com.two.medbooking.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//java中实体类，映射数据库中的department表.
@Data   //自动添加get set方法
@TableName("department")
public class Department {
    @TableId(type = IdType.AUTO)
    private Integer depId;//int==>Integer
    private String depName;
    private String description;
    private Integer status;
    private String createdAt;
    private String updatedAt;
}
